package com.button.springbootclickhouse.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description
 * @Author Administrator
 * @Date 2023/1/30 16:06
 **/
@Data
@TableName("t_order")
public class Order implements Serializable {

    private Long id;
    private String orderName;
    private Double totalAmount;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
